﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcWebShose.Controllers;
using MvcWebShose.Models;
using MvcWebShose.BUS;

namespace MvcWebShose.Models
{
    public class SanPhamModels
    {

        [Required]
        [DisplayName("Ma_SP")]
        public int MA_SP { get; set; }

        [Required]
        [DisplayName("MA_NCC")]
        public int MA_NCC { get; set; }

        [Required]
        [DisplayName("MA_LOAI")]
        public int MA_LOAI { get; set; }

        [Required]
        [DisplayName("TEN_SP")]
        public string TEN_SP { get; set; }

        [Required]
        [DisplayName("MOTA")]
        public string MOTA { get; set; }

        [Required]
        [DisplayName("GIA_SP")]
        public float GIA_SP { get; set; }

        [Required]
        [DisplayName("HINHANH")]
        public string HINHANH { get; set; }

     [Required]
        [DisplayName("QUYCACH")]
        public string QUYCACH { get; set; }

     [Required]
     [DisplayName("TRANGTHAI")]
     public int TRANGTHAI { get; set; }

     public int id { get; set; }
    }
}